package org.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.entity.SpuImg;

import java.util.List;

@Mapper
public interface SpuImgMapper extends BaseMapper<SpuImg> {
    void batchInsertBySpuId(@Param("spuId")Integer spuId,@Param("imgList") List<String> imgList);

    List<String> getBySpuId(Integer id);
}